/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author fauzi
 */
public class User extends DatabaseModel {

    public User() {
        super();
    }

    @Override
    public boolean insertTransaction() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean updateTransaction() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean deleteTransaction() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public ResultSet getData(String filter) {
        try {
            String sql = "select * from m_user " + filter;
            return super.statement.executeQuery(sql);
        }  catch (SQLException ex) {
            Logger.getLogger(Suplier.class.getName()).log(Level.SEVERE, null, ex);
        }
        return null;
    }
}
